<?php
	/**
	 * Class to set resources attributes
	 */
	class Resource {
		private $category;
		private $identifier;
		private $specifications;
		private $cost;
		
		/**
		 * Constructor of the user
		 */
		public function __construct($category, $identifier, $specifications, $cost) {
			$this -> category = $category;
			$this -> identifier = $identifier;
			$this -> specifications = $specifications;
			$this -> cost = $cost;
		}
		
		/**
		 * Getter and setter for attribute $category
		 */
		public function setCategory($category) {
			$this -> category = $category;	
		}
		
		public function getCategory() {
			return $this -> category;
		}
		
		/**
		 * Getter and setter for attribute $identifier
		 */
		public function setIdentifier($identifier) {
			$this -> identifier = $identifier;	
		}
		
		public function getIdentifier() {
			return $this -> identifier;
		}
		
		/**
		 * Getter and setter for attribute $specifications
		 */
		public function setSpecifications($specifications) {
			$this -> specifications = $specifications;	
		}
		
		public function getSpecifications() {
			return $this -> specifications;
		}
		
		/**
		 * Getter and setter for attribute $cost
		 */
		public function setCost($cost) {
			$this -> cost = $cost;	
		}
		
		public function getCost() {
			return $this -> cost;
		}
	}
?>